<style>
    .table-adminlog tr td {
        word-break: break-all;
    }
</style>
<table class="table table-striped table-adminlog">
    <thead>
    <tr>
        <th width="100">标题</th>
        <th>内容</th>
    </tr>
    </thead>
    <tbody>
    <!-- <tr>
        <td>id</td>
        <td><?=$row['id']?></td>
    </tr> -->
    <tr>
        <td>时间</td>
        <td><?=$row->created_at?></td>
    </tr>
    <tr>
        <td>用户名</td>
        <td><?=$row->admin->username?></td>
    </tr>
    <tr>
        <td>URL</td>
        <td><?=$row->url?></td>
    </tr>
    <tr>
        <td>标题</td>
        <td><?=$row->title?></td>
    </tr>
    <tr>
        <td>内容</td>
        <td><?=$row['content']?print_r($row['content']):''?></td>
    </tr>
    <tr>
        <td>IP</td>
        <td><?=$row->ip?></td>
    </tr>
    <tr>
        <td>useragent</td>
        <td><?=$row->useragent?></td>
    </tr>


    </tbody>
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">关闭</button>
    </div>
</div>